# coding: utf-8
import service.stock_query_service
import json
"""
    this is an stock query interface,param: stock_code,start,end. return dict{}
"""
stock_code="000001.SZ"
index_stock_code="hs300"
start="2018-02-20"
end="2018-03-13"


def get_stock_quant(stock_code, index_stock_code,start, end):
    result=service.stock_query_service.query_quant(stock_code, index_stock_code,start, end)
    return result

if __name__ == '__main__':
    print(get_stock_quant("000001.SZ","hs300","2015-02-20","2018-03-13"))